package com.example.test01;

import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;

import android.view.View;
import android.widget.LinearLayout;

public class CavasDemoActivity extends MainActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.draw);
        LinearLayout ll = (LinearLayout) findViewById(R.id.draw);
        ll.addView(new CavasView(this));
    }
    public void clickClear(View v){
        CavasView.clear();
    }
}
